package org.example.springoauth2.securitycommon.config.authenticate;

import org.springframework.context.annotation.Import;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableAuthorizationServer;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author hzq
 * @since 2021-09-13
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@EnableAuthorizationServer
@Import({OtherAuthorizationSecurityConfiguration.class,
        WebSecurityAuthorizationConfiguration.class,
        AuthorizationServerConfiguration.class})
public @interface EnableAutoAuthorizationServerConfiguration {

}
